<?php
/*
Copyright (C) 2014,2019-2020, Siemens AG

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
*/

namespace Fossology\Lib\Data;

class DecisionTypes extends Types
{
  const TO_BE_DISCUSSED = 3;
  const DO_NOT_USE = 6;
  const IRRELEVANT = 4;
  const IDENTIFIED = 5;
  const WIP = 0;

  public function __construct()
  {
    parent::__construct("decision type");

    $this->map = array(
        self::TO_BE_DISCUSSED => "To be discussed",
        self::DO_NOT_USE => "Do not use",
        self::IRRELEVANT => "Irrelevant",
        self::IDENTIFIED => "Identified"
    );
  }

  public function getExtendedMap()
  {
    $map = $this->map;
    $map[self::WIP] = 'Temporary';
    return $map;
  }
}
